import React, {Component} from "react";
import {ThemeContext} from '../Context'
export default class HomePage extends Component{
    static contextType = ThemeContext
    render(){
        console.log(this)
        // const {themeColor} = this.props.theme
        // return <div className={themeColor}>
        return <div className={this.context.themeColor}>
            <h3>HomePage</h3>
        </div>
    }
}